home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
!commodities!
/
docs
/
caw.doc
< prev
next >
Wrap
Text File
|
1996-09-07
|
7KB
|
294 lines
CAW - CloseAllWindows V1.0 (37.17)
by Roger Larsson 1992/93 (FidoNet @ 2:203/319.4)
WHAT IS IT?
CAW is a commodity that lets You close windows on the Workbench screen
with a keyboard combination.
WHY?
Isn't it nice to be able to close all those windows that mess upp the
screen in a fast way?
DISTRIBUTION
CAW is FreeWare. It may be distributed (Please do!) for non commercial
purposes only. All files in this package must be kept together in original
and unmodified form. CAW IS copyright! If you like it, please send me a
postcard from your hometown. My address is found in the end of this text!!
REQUIREMENTS
CAW needs AmigaDOS 2.0 or higher to run.
INSTALATION
Place the CAW drawer anywhere You like. If You want to run CAW at bootup,
You should drag the CAW icon into the WBStartup drawer.
RUNNING CAW
Just double click its icon. If the tooltype CX_POPUP is set to "NO" CAW
will just sit there in the background waiting for You to use it. If
CX_POPUP is set to "YES", then CAW will open its main window at startup.
TOOLTYPES
To change the tooltypes, select the CAW icon and choose "Info" from the
Workbench menu.
CAW recognizes the following tooltypes:
CX_PRIORITY=pri
CX_POPUP=Yes|No
CX_POPKEY= Qualifier Key
CLOSEKEY= Qualifier Key
These overrides the preferences function
in the program. If you want to set them
in the preferences window, remove them
or mark them out in the info window, for example:
(CX_POPUP=YES).
CX_PRIORITY
The priority pri is a number from -128 to 127.
Higher priority gives CAW access to input events
before other commodities.
Default: CX_PRIORITY=0
CX_POPUP
If CX_POPUP=YES, the CAW window opens when
it is first launched.
Default: CX_POPUP="Yes"
CX_POPKEY
CX_POPKEY is followed by a string describing
the qualifiers and key to use as a hotkey,
for making the CAW's window appear (pop up).
Default: CX_POPKEY="control lalt a"
CLOSEKEY
CLOSEKEY is followed by a string describing
the qualifiers and key to use as a hotkey,
for closing all windows on Workbench.
Default: CLOSKEY="control a"
THE MAIN WINDOW
There are two ways to open the main window when CAW is running.
Pressing the popkey combination or double clicking the program icon. If
You double click the icon, a requester will pop up, giving You the
possibility to choose one of three alternatives.
POPUP --- Opens the main window
HIDE --- Closes the requester and CAW runs in hidden mode.
QUIT --- Quit the CAW program.
In the upper part of the main window is a listview gadget. This is where
You enter the names of windows that You wish NOT to be closed by CAW. Type
in a window name in the stringgadget under the list and when You press
return or tab, the window name will appear in the list. You can delete a
window name by selecting it in the list and then click on the "Delete"
gadget to the right of the list. You can unselect a name by clicking on
the "Undo" gadget.
If You checkmark the "Add #? Wildcards" gadget, the AmigaDOS #? wildcard
will be added both in front and after the window name. This is very
useful because many programs open windows with names that are very long.
An example: "AllWind" would cause the "CloseAllWindows 37.16 (28.10.92)"
window to remain open if the Wildcard gadget is activated. Of course this
would also be the case for all other windows that have the "AllWind"
string in their name.
The "Close Options" field has three gadgets. "Close active window" means
that the active window will also be closed when You press the close keys.
If it is not activated all windows except the active window will be
closed. The "PopUp" gaget tells CAW to open its main window at startup.
The "Cx_Pri" gadget is for setting the Cx_Priority of CAW.
The "Key Qualifiers" field is where You choose the diffrent key
combinations to close the windows and to pop up CAW's main window. Click
on the "Close" gadget to open the qualifier key window. In this window You
checkmark the gadgets that correspond to the keys that You would like to
use as qualifiers. When You're done, close the window and You will see
that the textgadget to the right of the "Close" gadget in the main
window has a string describing the keys of Your choice. Now there's only
one thing left to do to make the "Close windows" function work. Type in a
key in the key string gadget to the right of the textgadget. The
textgadget will be updated with the key of Your choice. Now go through the
same procedure with the "PopUp" fuction to set the keyboard combination to
open the CAW main window.
Qualifier is one or several strings from the table below.
lshift
rshift
capslock
control
lalt
lcommand
rcommand
numericpad
repeat
midbutton
rbutton
leftbutton
relativemouse
Key is one string from the table below.
Any single character, e.g. "a" or "b" or "[" or "2" etc.
"tab"
"esc"
"del"
"f1"
"f2"
"f3"
"f4"
"f5"
"f6"
"f7"
"f8"
"f9"
"f10"
When You're done You probably want to save the settings in some way. Click
the "Prefs" gadget to open the "Prefs" requester. This requester gives You
three options, "Save" wich saves the settings to Envarc: which means that
the changes are permanent. "Load" re-reads the last saved settings from
Envarc:. "Use" saves the new settings to ENV: but not to Envarc: which
means that the changes are temporary and will only be used until You make
new changes or reboot Your Amiga.
THE MENUES
ABOUT
Pops up requester with information
about CloseAllWindows.
PREFS
A requester pops up and ask you to:
Save: Save configuration in envarc:
Permanent.
Load: Load configuration from envarc:
Use: Save configuration in env:
Temporary.
HIDE
Close the CAW window.
The program remains active.
QUIT
Exit CloseAllWindows.
CLOSING WINDOWS
Let's say that You have choosen "lalt" (left alt key) for the close qualifier
and "a" for the key, just hold down left alt and press a to close the
windows on Your Workbench screen.
HELP
This package contains an AmigaGuide file named caw.guide. Make sure this
file is in Your AmigaGuide path. This will give You online documentation
when You press the HELP-key when the mousepointer is over a gadget or
a menuitem.
PROBLEMS
Sometimes is it hard to identify a window by its name.
This creates some problems if you dont want to close it with CAW.
Some windows have strange names that can be difficult to figure out. For
example the iconified DirectoryOpus window appears to have the name
DirOpus but the window name is really just a row of spaces. The solution
to this is to enter the following line in Your exception list:
#? #?
This will prevent CAW from closing the DirOpus iconified window.
Some musicplayers changes its window name to that of the loaded module but
strips the .mod extension so You can never tell what name the window will
have. One way to get around this is to rename all modules from #?.mod to
mod.#?.mod and type mod.#? in the exception list.
Do it if Yoy have the energy! ;-)
CREDITS
The author wishes to thank:
Kjell Cederfeldt for suggestions and hints.
Kjell Harnesk who helped me whih this document.
ADDRESS
If you have suggestions or remarks about
this program, or if you find any bugs,
please let me know.
Mail: Roger Larsson
Hamngatan 12
S-582 26 Linköping
SWEDEN
NetMail: (FidoNet @ 2:203/319.4)